package com.cq.hd.product.service;

import com.cq.hd.common.entity.mq.ActiveBrowseMsg;
import com.cq.hd.common.pagination.Page;
import com.cq.hd.product.api.dto.ActiveBrowseDto;
import com.cq.hd.product.api.dto.ActiveBrowsePageDto;
import com.cq.hd.product.api.vo.ActiveBrowsePageVo;
import com.cq.hd.product.api.vo.ActiveBrowseVo;
import com.cq.hd.product.po.TbActiveBrowsePo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 活动浏览记录表 服务类
 * </p>
 *
 * @author mYunYu
 * @since 2023-12-01
 */
public interface TbActiveBrowseService extends IService<TbActiveBrowsePo> {

    Page<ActiveBrowsePageVo> pageActiveBrowse(ActiveBrowsePageDto activeBrowsePageDto);

    Boolean clear(Long userId);

    Boolean removeActiveBrowseJob();

    List<ActiveBrowseVo> listByDto(ActiveBrowseDto activeBrowseDto);

    Boolean consumerActiveBrowseMsg(ActiveBrowseMsg activeBrowseMsg);
}
